GetTrackStatus
TheGetTrackStatus
function returns the value of the last error the media encountered while playing a specified track. This function returns information about errors that are encountered during the processing associated with theMoviesTask
function (described on page 2-110). These errors typically reflect playback problems, such as low-memory conditions.The media clears this error code when it detects that the error has been corrected.
pascal ComponentResult GetTrackStatus (Track theTrack);
theTrack
- Specifies the track for this operation. Your application obtains this track identifier from the
GetMovieStatus
function, described in the previous section.DESCRIPTION
TheGetTrackStatus
function returns the last error encountered for the specified track. If the component does not find any errors, the result is set tonoErr
.ERROR CODES
Any Movie Toolbox result code (see "Summary of the Movie Toolbox" at the end of this chapter)